  <!-- sidebar start -->
  <div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
    <div class="am-offcanvas-bar admin-offcanvas-bar">
      <ul class="am-list admin-sidebar-list">
        {% if menustr.0 == 1 %}
        <li class="admin-parent">
          <a id="xtgl" class="am-cf am-collapsed" data-am-collapse="{target: '#collapse-nav'}"> 系统管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
          <ul class="am-list am-collapse admin-sidebar-sub" id="collapse-nav">
            <li><a id="xtglObmgl" href="/department/" class="am-cf"> 部门管理</a></li>
            <li><a id="xtglOjsgl" href="/department_1/"> 角色管理</a></li>
            <li><a id="xtglOyhgl" href="/department_2/"> 用户管理</a></li>
            <li><a id="xtglOgrzx" href="/department_3/"> 个人中心</a></li>
            <li><a id="xtglOtxl" href="/department_4/"> 通讯录</a></li>
          </ul>
        </li>
        {% endif %}
        {% if menustr.1 == 1 %}
        <li class="admin-parent">
          <a id="rcgl" class="am-cf am-collapsed" data-am-collapse="{target: '#collapse-nav0'}"> 日常管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
          <ul class="am-list am-collapse admin-sidebar-sub" id="collapse-nav0">
            <li><a id="rcglOjhgl" href="#" class="am-cf"> 计划管理</a></li>
            <li><a id="rcglOgcgl" href="#"> 工程管理</a></li>
            <li><a id="rcglOsbgl" href="#"> 设备管理</a></li>
          </ul>
        </li>
        {% endif %}
        {% if menustr.2 == 1 %}
        <li class="admin-parent">
          <a id="qlgl" class="am-cf am-collapsed" data-am-collapse="{target: '#collapse-nav1'}"> 桥梁巡检 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
          <ul class="am-list am-collapse admin-sidebar-sub" id="collapse-nav1">
            <li><a id="qlglOzdsj" href="/QLGL_ZDSJ_index/" class="am-cf"> 字典数据</a></li>
            <li><a id="qlglOqlsj" href="/QLGL_QLSJ_index/" class="am-cf"> 桥梁数据</a></li>
            <li><a id="qlglOxjyw" href="/QLXJ_XJYW_INDEX/" class="am-cf"> 巡检业务</a></li>
            <li><a id="qlglObhtj" href="#"> 病害统计</a></li>
            <li><a id="qlglOsjcs" href="#"> 数据传输</a></li>
          </ul>
        </li>
        {% endif %}
        {% if menustr.3 == 1 %}
        <li class="admin-parent">
          <a id="dagl" class="am-cf am-collapsed" data-am-collapse="{target: '#collapse-nav2'}"> 档案管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
          <ul class="am-list am-collapse admin-sidebar-sub" id="collapse-nav2">
            <li><a id="daglOdzda" href="#" class="am-cf"> 电子档案</a></li>
            <li><a id="daglOzzda" href="#"> 纸质档案</a></li>
          </ul>
        </li>
        {% endif %}
        {% if menustr.4 == 1 %}
        <li><a href="#"> 三维平面</a></li>
        {% endif %}
        {% if menustr.5 == 1 %}
            <li class="admin-parent">
          <a id="jdxj" class="am-cf am-collapsed" data-am-collapse="{target: '#collapse-nav8'}"> 机电巡检 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
          <ul class="am-list am-collapse admin-sidebar-sub" id="collapse-nav8">
            <li><a id="jdxjrcxc" href="/JDXJ_RCXC_index/" class="am-cf"> 日常巡查</a></li>
            <li><a id="jdxjjcjc" href="/JDXJ_JJDJ/?tp=1" class="am-cf"> 经常检查</a></li>
            <li><a id="jdxjdqxj" href="/JDXJ_JJDJ/?tp=2" class="am-cf"> 定期巡检</a></li>
            <li><a id="jdxjgzxx" href="/JDXJ_GZXX_index/" class="am-cf"> 故障信息</a></li>
            <li><a id="jdxjjcsj" href="/JDXJ_JCSJ_index/" class="am-cf"> 基础数据</a></li>
            <li><a id="jdxjgztj" href="/JDXJ_GZTJ_index/" class="am-cf"> 故障统计</a></li>
          </ul>
        </li>
        {% endif %}
        {% if menustr.6 == 1 %}
        <li><a href="#"> 健康监测接口</a></li>
        {% endif %}
        {% if menustr.7 == 1 %}
        <li class="admin-parent">
          <a id="yhbb" class="am-cf am-collapsed" data-am-collapse="{target: '#collapse-nav3'}"> 养护报表 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
          <ul class="am-list am-collapse admin-sidebar-sub" id="collapse-nav3">
            <li><a id="daglOjcjl" href="#" class="am-cf"> 检测病害统计及结论</a></li>
            <li><a id="daglOyhhz" href="#"> 养护工作汇总</a></li>
            <li><a id="daglOyhzj" href="#"> 养护资金使用汇总</a></li>
          </ul>
        </li>
        {% endif %}
        {% if menustr.8 == 1 %}
        <li class="admin-parent">
          <a id="bz" class="am-cf am-collapsed" data-am-collapse="{target: '#collapse-nav4'}"> 帮助 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
          <ul class="am-list am-collapse admin-sidebar-sub" id="collapse-nav4">
            <li><a id="bzObbxx" href="#" class="am-cf"> 版本信息</a></li>
            <li><a id="bzOczzy" href="#"> 操作指引</a></li>
            <li><a id="bzOlxwm" href="#"> 联系我们</a></li>
          </ul>
        </li>
        {% endif %}
      </ul>
    </div>
  </div>
  <!-- sidebar end -->